package com.iocup.keybastion.authorize;

import java.util.Set;

/**
 *  根据登录账号获取拥有的权限数据
 * @author xyjxust
 * @create 2022/3/8
 **/
public interface HasAuthorizationProvider {

    Set<String>  getPermissions(String loginName,String device);

    Set<String>  getRoles(String loginName,String device);
}
